package com.hyjy.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
public class IndexController {
    

    @RequestMapping(value = "/index")
    public ModelAndView toIndex(HttpServletRequest request){
       
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("/index");
       
        return modelAndView;
    }

    
}
